package cn.lyd.user.service;

import cn.lyd.user.domain.User;
import cn.lyd.basic.service.IBaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-11-04
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 手机号注册
     * @param map
     */
    void phoneRegister(Map<String, String> map);

    /**
     * 邮箱注册
     * @param map
     */
    void emailRegister(Map<String, String> map) throws MessagingException;
}
